home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
pxfield.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
485b
|
26 lines
#ifndef _PX_FIELD_TYPE_H_
#define _PX_FIELD_TYPE_H_
#include <pxengine.h>
#include "khpxeerr.h"
#include "fldtype.h"
struct KH_PXFLD
{
KH_FIELD_TYPE type;
char* str;
double n;
long date;
short sh;
KH_PXFLD(double f) { type = KH_NUMBER; n = f; }
KH_PXFLD(long f) { type = KH_DATE; date = f; }
KH_PXFLD(short f) { type = KH_SHORT; sh = f; }
KH_PXFLD(char* buf) { type = KH_STRING, str = buf; }
};
#endif _PX_FIELD_TYPE_H_